#define _CRT_SECURE_NO_WARNINGS 1
void test04()
{
	string url1("https://legacy.cplusplus.com/reference/string/string/substr/");
	string url2("https://editor.csdn.net/md?articleId=147858513");
	split_url(url1);
	split_url(url2);
	//string str("good morning");
	//cout << str.substr(5) << endl;
}

void test05()
{
	//string s1("good ");
	//string s2("good");
	//cout << (s1 == s2) << endl;
	//cout << (s1 != s2) << endl;
	//cout << (s1 < s2) << endl;
	//cout << (s1 > s2) << endl;
	//cout << (s1 <= s2) << endl;
	//cout << (s1 >= s2) << endl;
	string s1("hello");
	string s2("good");
	cout << s1 << " " << s2 << endl;
	//cin >> s1 >> s2;
	//cout << s1 << " " << s2 << endl;
	getline(cin, s1, '!');
	cout << s1 << endl;
}

void test06()
{
	string s1("good moring");
	//string s2(s1);
	string s2("abcdef");
	swap(s1, s2);
	//cout << s2 << endl;
}
}

int main()
{
	//wusaqi::test01();
	//wusaqi::test02();
	//wusaqi::test03();
	//wusaqi::test04();
	//wusaqi::test05();
	wusaqi::test06();
	return 0;
}